package com.openroom.ui.action;

import org.apache.pivot.wtk.Action;
import org.apache.pivot.wtk.Component;

import com.openroom.event.ApplicationEvent;
import com.openroom.event.EventManager;
import com.openroom.event.EventType;

public class AutoWBAction extends Action {

    @Override
    public void perform(Component source) {
        EventManager.getInstance().publishEvent(new ApplicationEvent(EventType.AUTO_WHITE_BALANCE));
    }

}
